package com.stress.testing.common.matcher;

import java.lang.reflect.Method;

public class MethodDescription {
    private String name;
    private String returnType;
    private String[] paramaterType;
    private Method method;

    public MethodDescription(String name) {
        this.name = name;
    }

    public MethodDescription(String name, String returnType) {
        this.name = name;
        this.returnType = returnType;
    }

    public MethodDescription(String name, String returnType, String[] paramaterType) {
        this.name = name;
        this.returnType = returnType;
        this.paramaterType = paramaterType;
    }

    public MethodDescription(String name, String returnType, String[] paramaterType, Method method) {
        this.name = name;
        this.returnType = returnType;
        this.paramaterType = paramaterType;
        this.method = method;
    }

    public String getName() {
        return name;
    }

    public String getReturnType() {
        return returnType;
    }

    public String[] getParamaterType() {
        return paramaterType;
    }
}
